package com.itheima.homework5;

public class Demo5 {
    public static void main(String[] args) {
        Laptop laptop = new Laptop();
        laptop.switchOn();
        laptop.peripheral(new Mouse());
        laptop.peripheral(new KeyBoard());
        laptop.switchOff();
    }
}
